﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Project.Engine.Control;
using Project.Module.Model;
using Project.Module.Model.CMS;
using Project.Module.DAO.CMSBL;
using Project.Module.DAO.BL;
using Project.Engine.Utilities;

namespace Project.Module.View.CMS
{
    public class CMSEditSupplierView : DocumentInfo
    {
        public SupplierModel supplier = null;
        private SupplierBL supplierBl = new SupplierBL();

        public CMSEditSupplierView(int nodeid, string nodealias)
        {
            Init(nodeid);
        }

        private void Init(int nodeid)
        {
            supplier = supplierBl.GetDetailSupplier(nodeid);
        }
    }
}
